<?php
$this->breadcrumbs=array(
	'客户服务',
	'举报管理',
);
?>
        <div class="hr_15"></div>
        <div class="steps report_steps">
            <ul class="fs_14 c_f">
                <li class="done done_a first"><span class="one">第一步,选择举报类型</span></li>
                <li class="cur"><span class="two">第二步，填写举报内容</span></li>
                <li class=""><span class="three">第三步，等待客服处理</span></li>
                <li class="last"><span class="four">第四步，举报完成</span></li> 
            </ul>
        </div>
        <div class="hr_20"></div>
        <!--举报管理 start-->
        <div class="report_box step_box">
        	<div class="step_info">        		
                  <?php $form = $this->beginWidget('CActiveForm', array(
    					'id'=>'mem-report-form',
   						'enableAjaxValidation'=>true,
                  		'action'=>'reportthree',
                  		'htmlOptions'=>array('enctype'=>'multipart/form-data'),
                  		'focus'=>array($model,'zmr_content'),     
						)); 
				  ?>     
				  <?php echo $form->errorSummary($model); ?>	
				  <?php echo $form->hiddenField($model,'zmr_type_info',array('value'=>$reporttype,'type'=>'hidden'));?>	
				  <?php echo $form->hiddenField($model,'zm_id_from',array('value'=>Yii::app()->user->userid));?>	
				  <?php echo $form->hiddenField($model,'zm_id_to',array('value'=>$productinfo->zm_id));?>	
				  <?php echo $form->hiddenField($model,'zp_id',array('value'=>$productinfo->zp_id));?>	
                    <ul class="form_list"> 
                    	<li><span class="tit">被举报人：</span><?php echo CHtml::link(Company::model()->find('zm_id=\''.$productinfo->zm_id.'\'')->zc_name,'javascript:',array('class'=>'c_06c','target'=>'_blank')); ?>
                    	</li>
                        <li><span class="tit">相关宝贝：</span><?php echo CHtml::link(Product::model()->find('zp_id=\''.$productinfo->zp_id.'\'')->zp_name,'javascript:',array('class'=>'c_06c','target'=>'_blank'))?></li>
                        <li><span class="tit">举报类型：</span><span><?php echo $reporttypeval[$reporttype] ?></span>
                        <?php echo CHtml::link('返回选择类型','javascript:void(0)',array('onclick'=>'javascript:history.go(-1)','class'=>'c_06c back'));?></li>
                        <li class="c_f"><span class="tit f_l"><em class="xing">*</em>上传凭证：</span>
                            	<div class="cert_img f_l">
                                	<p class="c_999"><span class="ico ico_tip"></span>每张图片大小不能超过500K</p>
                                    <ul class="uploadimg c_f">
                                    	<li>
                                        	<img id="img1" src="/images/cert_img.jpg" alt="" />
                                            <a id="upbutton1" class="mem_btn mem_btn10" href="javascript:">上传...</a>
                                            <input id="pic1" type="hidden" value="" name="" />
                                        </li>
                                        <li>
                                        	<img id="img2" src="/images/cert_img.jpg" alt="" />
                                            <a id="upbutton2" class="mem_btn mem_btn10" href="javascript:">上传...</a>
                                            <input id="pic2" type="hidden" value="" name="" />
                                        </li>
                                        <li>
                                        	<img id="img3" src="/images/cert_img.jpg" alt="" />
                                            <a id="upbutton3" class="mem_btn mem_btn10" href="javascript:">上传...</a>
                                            <input id="pic3" type="hidden" value="" name="" />
                                        </li>                                      
                                    </ul>                                                                  						
                                </div>
                            </li>
                        <li><span class="tit"><em class="xing">*</em>
                        <?php echo $form->labelEx($model,'zmr_content'); ?>：
                         	</span>                         	
                         	<?php echo $form->textArea($model,'zmr_content',array('class'=>'t_area')); ?>
                         	<?php echo $form->error($model,'zmr_content'); ?>
                         	</li>
                        <li class="link"><span class="tit"></span>
                        <?php echo CHtml::submitButton('提交申请',array('class'=>'mem_btn mem_btn05')); ?></li>
                    </ul>                       
                  <?php $this->endWidget(); ?>
               	
            </div>
        </div>       
    	<!--举报管理 end--><div>